package com.splunk.hiring.imov.persist.db;

import com.splunk.hiring.imov.entity.Movie;
import com.splunk.hiring.imov.utils.PagedData;
import com.splunk.hiring.imov.utils.PagedData.Pager;

public interface MovieDao {
	PagedData<Movie> getPagedMovies(Pager pager);
	PagedData<Movie> getPagedMoviesByName(String shortName,Pager pager);
	PagedData<Movie> getPagedMoviesWithYearsAndGenres(String years,String genres,Pager pager);

	Movie getMovieById(Long movieId);
	Long getTmdbIdByMovie(Movie movie);
}
